package com.lwl.dao;


import com.lwl.entity.Tuser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author Lei
 * @create 2022-10-19 9:45
 */

@Repository
public interface TuserMapper extends Mapper<Tuser> {
    List<Tuser> findUserByName(@Param("username") String username);

    List<Tuser> queryAll(Tuser tuser);

    List<Tuser> queryByName(String username);

    List<Tuser> queryByUserName(String username);

//    int loginAddInfo(TQuestionMht tQuestionMht);

}
